package com.adaxi.adc.business.vehicle.controller;

import com.adaxi.adc.business.vehicle.feign.service.IExampleFeignService;
import com.adaxi.adc.common.common.CommonResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 涛哥
 * @version 1.0
 */
@RestController
public class ExampleController {

    @Autowired
    IExampleFeignService feignService;

    @GetMapping("/say-remote-hello")
    @ApiOperation(value = "远程测试说你好", notes = "远程测试说你好")
    public CommonResult sayRemoteHello() {
        CommonResult commonResult = feignService.sayHello();
        return commonResult;
    }

}
